<%@ page language="java" contentType="text/html; charset=UTF-8"
         import="java.util.*" pageEncoding="UTF-8" %>
<%@page language="java" import="db_tool.DBConnection" %>
<%@page language="java" import="java.sql.ResultSet" %>
<%@page language="java" import="java.sql.Statement" %>

<%@page language="java" import="com.opensymphony.xwork2.ActionContext" %>
<%
    String email = (String) session.getAttribute("email");
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="edge"/>
    <meta name="author" content="Daliu"/>
    <meta name="keywords" content="长江上游珍稀特有鱼类保护信息管理系统、长江上游、珍稀特有鱼类、保护信息"/>
    <meta name="describe" content="长江上游珍稀特有鱼类保护信息管理系统"/>
    <title>长江上游珍稀特有鱼类保护信息管理系统</title>
    <link rel="icon" href="<%=path%>/bfish.ico"
          mce_href="<%=path%>/bfish.ico" type="image/x-icon">
    <link rel="shortcut icon" href="<%=path%>/bfish.ico"
          mce_href="<%=path%>/bfish.ico" type="image/x-icon">
    <link type="text/css" href="css/partI.css" rel="stylesheet"/>
    <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
    <!-- 表单验证 -->
    <script type="text/javascript" src="js/jquery-1.12.3.min.js"></script>
    <script type="text/javascript" src="js/jquery.validate.min.js"></script>

    <script type="text/javascript">
        window.onload = function () {
            setTime($("#tip"));
        }
    </script>

</head>
<body>

<div class="content">
    <div class="for-process">
        <div class="plist for-cur"></div>
        <div class="plist for-cur"></div>
        <div class="plist for-cur"></div>
        <div class="plist for-cur"></div>
        <div class="ptextbox">
            <div class="ptext for-cur"><em>1</em><br/><strong>填写账户名</strong></div>
            <div class="ptext for-cur"><em>2</em><br/><strong>验证身份</strong></div>
            <div class="ptext for-cur"><em>3</em><br/><strong>设置新密码</strong></div>
            <div class="ptext for-cur"><em>4</em><br/><strong>完成</strong></div>
        </div>
    </div><!--for-liucheng/-->
    <div class="successs">
        <h3 id="tip"></h3><br>
        <p><a href="login.jsp">点击这里,返回登陆界面</a></p>
    </div>

    <script type="text/javascript">
        countdown = 5;
        function setTime(obj) {
            if (countdown == 0) {
                window.location.href = "login.jsp";
                window.event.returnValue = false;
            }else{
                obj.text("恭喜您,修改成功!" + countdown + "秒后返回登陆界面");
                countdown--;
            }
            //设置setTime每秒执行一次
            setTimeout(function () {
                    setTime(obj)
                }
                , 1000)
        }
    </script>

</div><!--web-width/-->
</div><!--content/-->


</body>
</html>
